set(lib_srcs
  DataSet.cpp
  DataCorrection.cpp
  CorrectionTable.cpp
  Generate.cpp
)
set(lib_headers
  DataSet.hpp
  DataCorrection.hpp
  CorrectionTable.hpp
  Generate.hpp
)

add_library(Data
  SHARED ${lib_srcs} ${lib_headers}
)

target_link_libraries(Data
  PUBLIC Core pstl::ParallelSTL
)

install(TARGETS Data
	LIBRARY DESTINATION lib
)

install(FILES ${lib_headers}
    DESTINATION include/Data
)

add_subdirectory(AsciiReader)
add_subdirectory(EvtGen)
add_subdirectory(Root)
